#pragma once

// 摄像头
#define CAM_PIN_D2    3
#define CAM_PIN_D1    4
#define CAM_PIN_D3    5
#define CAM_PIN_D0    6
#define CAM_PIN_D4    7
#define CAM_PIN_PCLK  8
#define CAM_PIN_D5    9
#define CAM_PIN_D6    10
#define CAM_PIN_XCLK  11
#define CAM_PIN_D7    12
#define CAM_PIN_HREF  13
#define CAM_PIN_PWDN  14
#define CAM_PIN_VSYNC 15
#define CAM_PIN_RESET 16
#define CAM_PIN_SIOC  17
#define CAM_PIN_SIOD  18

// 调试LED
#define GPIO_DBG_LED  48
// 补光灯PWM
#define GPIO_LED      21
// 调试按键
#define GPIO_KEY      0
// RS485
#define RS485_TXD     38
#define RS485_RXD     40
#define RS485_EN      39
